package day03;

public class IfElseIfDemo {
    public static void main(String[] args) {
        double price=500.0;
        if (price>=1000){
           price*=0.5;

        }
        System.out.println(price );
    }
}
